﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Rhino.Commons;

namespace DomainModel.Abstract
{
    public interface IEntityService<T>
    {
        T Get(int id);
        ICollection<T> GetAll();
        void Remove(T instance);
        void Save(T instance);
        bool IsUpdate(int id);
    }
}
